<?php
// ------------------------------------------------------------------------
// |@Author       : Jarmin <edshop@qq.com>
// |@----------------------------------------------------------------------
// |@Date         : 2023-01-16 00:50:15
// |@----------------------------------------------------------------------
// |@LastEditTime : 2023-01-16 01:15:14
// |@----------------------------------------------------------------------
// |@LastEditors  : Jarmin <jarmin@ladmin.cn>
// |@----------------------------------------------------------------------
// |@Description  : 
// |@----------------------------------------------------------------------
// |@FilePath     : menu.php
// |@----------------------------------------------------------------------
// |@Copyright (c) 2023 http://www.ladmin.cn   All rights reserved. 
// ------------------------------------------------------------------------
return [
    [
        'name'                   => 'home',
        'path'                   => '/home',
        'meta'                   => [
            'title'              => '标题',
            'icon'               => 'el-icon-eleme-filled',
            'type'               => 'menu',
        ],
        'children'               => [
            [
                'name'           => 'dashboard',
                'path'           => '/dashboard',
                'meta'           => [
                    'title'      => '控制台',
                    'icon'       => 'el-icon-menu',
                    'affix'      => 'true',
                ],
                'component'      => 'home',
            ],
            [
                'name'           => 'userCenter',
                'path'           => '/userCenter',
                'meta'           => [
                    'title'      => '帐号信息',
                    'icon'       => 'el-icon-user',
                    'tag'        => 'NEW',
                ],
                'component'      => 'userCenter',
            ],
        ],
    ],
    [
        'name'                   => 'vab',
        'path'                   => '/vab',
        'meta'                   => [
            'title'              => '组件',
            'icon'               => 'el-icon-takeaway-box',
            'type'               => 'menu',
        ],
        'children'               => [
            [
                'name'           => 'minivab',
                'path'           => '/vab/mini',
                'meta'           => [
                    'title'      => '原子组件',
                    'icon'       => 'el-icon-magic-stick',
                    'type'       => 'menu',
                ],
                'component'      => 'vab/mini',
            ],
            [
                'name'           => 'iconfont',
                'path'           => '/vab/iconfont',
                'meta'           => [
                    'title'      => '扩展图标',
                    'icon'       => 'el-icon-orange',
                    'type'       => 'menu',
                ],
                'component'      => 'vab/iconfont',
            ],
            [
                'name'           => 'vabdata',
                'path'           => '/vab/data',
                'meta'           => [
                    'title'      => 'Data 数据展示',
                    'icon'       => 'el-icon-histogram',
                    'type'       => 'menu',
                ],
                'children'       => [
                    'name'       => 'chart',
                    'path'       => '/vab/chart',
                    'meta'       => [
                        'title'  => '图表 Echarts',
                        'type'   => 'menu',
                    ],
                    'component'  => 'vab/chart',
                ],
                [
                    'name'       => 'statistic',
                    'path'       => '/vab/statistic',
                    'meta'       => [
                        'title'  => '统计数值',
                        'type'   => 'menu',
                    ],
                    'component'  => 'vab/statistic',
                ],
                [
                    'name'       => 'scvideo',
                    'path'       => '/vab/video',
                    'meta'       => [
                        'title'  => '视频播放器',
                        'type'   => 'menu',
                    ],
                    'component'  => 'vab/video',
                ],
                [
                    'name'       => 'qrcode',
                    'path'       => '/vab/qrcode',
                    'meta'       => [
                        'title'  => '二维码',
                        'type'   => 'menu',
                    ],
                    'component'  => 'vab/qrcode',
                ],
            ],
        ],
    ],
];